﻿<Window x:Class="TibiaUniversalMC.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="TibiaMC"
        Height="250" Width="370">
    <DockPanel>
        <Menu DockPanel.Dock="Top">
            <MenuItem Header="File">                
                <MenuItem Header="Run" Click="run_Click"/>
                <MenuItem Header="Run from ..." Click="runFrom_Click"/>
                <Separator/>
                <MenuItem Header="Recent"
                          MenuItem.Click="recent_Click"
                          Name="recent"
                          />
                <Separator/>
                <MenuItem Header="Exit" Click="exit_Click"/>
            </MenuItem>
            <MenuItem Header="Help">
                <MenuItem Header="How to use" Click="howToUse_Click"/>
                <Separator/>
                <MenuItem>
                    <MenuItem.Header>
                        <TextBlock>           
                            <Hyperlink
                                NavigateUri="https://tibiamc.codeplex.com"
                                RequestNavigate="hyperlink_RequestNavigate">
                                Source code
                            </Hyperlink>
                        </TextBlock>
                    </MenuItem.Header>
                </MenuItem>
                <MenuItem>
                    <MenuItem.Header>
                        <TextBlock>           
                            <Hyperlink
                                NavigateUri="http://tpforums.org"
                                RequestNavigate="hyperlink_RequestNavigate">
                                http://tpforums.org
                            </Hyperlink>
                        </TextBlock>
                    </MenuItem.Header>
                </MenuItem>
            </MenuItem>
        </Menu>
        <Border 
            DockPanel.Dock="Bottom"
            Background="#F0F0FF"
            BorderBrush="#D3D3FF"
            BorderThickness="0,1,0,0"
            >
            <UniformGrid
                Margin="5"                
                HorizontalAlignment="Right"          
                Width="300"
                Columns="3">
                <Button Content="Delete"
                    Click="delete_Click"
                    />
                <Button
                Margin="2, 0"
                Content="Run"
                Click="run_Click"
                    />
                <Button Content="Run from ..."
                    Click="runFrom_Click"
                    />
            </UniformGrid>
            
        </Border>
        <Border DockPanel.Dock="Top"
                Background="White"
                BorderBrush="#D0D0F0"
                BorderThickness="0, 0, 0, 1"
                >
            <TextBlock
                    Margin="7, 5"
                    Foreground="#2046F0"
                    FontSize="16"
                    Text="Recent"/>
        </Border>
        <ListBox
                Name="listBox"
                BorderBrush="Transparent"
                />
    </DockPanel>
</Window>
